package com.zhang.modules.mianShi.entity.cmd.machine;

import com.zhang.common.jpa.entity.AddCmd;
import com.zhang.common.jpa.entity.PageCmd;
import com.zhang.modules.mianShi.entity.MachineGroup;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * A DTO for the {@link MachineGroup} entity
 */
@Data
public class MachineAddCmd implements Serializable, AddCmd {


    @NotBlank(message = "机组编码不能为空")
    @ApiModelProperty("机组编码")
    private  String machineCode;

    @NotBlank(message = "机组名称不能为空")
    @ApiModelProperty("机组名称")
    private  String machineName;


}